home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-02
/
spcfont.zip
/
SAMPLE.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1992-06-21
|
1KB
|
39 lines
Program Sample;
Uses SPCFont,
CRT;
Var I : Byte;
Begin
WriteLn( 'The characters will only be remapped, if you have a VGA installed !' );
WriteLn( 'Those are the chars from #01 to #06 :' );
For I := 1 to 6 do
Write( Char( I ));
WriteLn;
Write( 'Now we''ll install the new charset <Press Enter> :' );
ReadLn;
InstallCharSet;
WriteLn( 'This is how the chars look remapped. You could use them in a checkbox ...' );
WriteLn( 'Format disk : ',Button( True ));
WriteLn( 'Ask before format : ', Button( False ));
WriteLn( CopyRight,' Max Maischein' );
WriteLn;
WriteLn( 'And now we''ll UnInstall the set <Press Enter>:' );
ReadLn;
UnInstallCharSet;
WriteLn( 'Normally you should clear the screen before doing so,' );
WriteLn( 'because otherwise, the chars #01-#05 will remain onscreen.' );
Write( '<Press Enter>' );
ReadLn;
ClrScr;
WriteLn( 'And this is how the buttons will look on any other adapter than a VGA :' );
WriteLn( 'Format disk : ',Button( True ));
WriteLn( 'Ask before format : ', Button( False ));
WriteLn( CopyRight,' Max Maischein' );
WriteLn;
Write( '<Press Enter>' );
ReadLn;
End.